package com.mryin.mapper;

import com.mryin.pojo.UserPermission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author MRYIN
 * @since 2021-02-25
 */
@Repository
public interface UserPermissionMapper extends BaseMapper<UserPermission> {
    List<String> queryPermissionsByUserId(@Param("id")Integer id);
}
